package com.lmx.repoDomain.tmodel;

import java.util.List;

import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToMany;

@JsonApiResource(type = "staffworktimesetting")
public class StaffWorkTimeSetting extends BaseEntity {

	private List<StaffSchedule> schedules;// 排班

	private String target;
	
	private String resource;
	
	private String staffs;
	
//	private String year;
//	
//	public String getYear() {
//		return year;
//	}
//
//	public void setYear(String year) {
//		this.year = year;
//	}

	public String getResource() {
		return resource;
	}

	public String getStaffs() {
		return staffs;
	}

	public void setStaffs(String staffs) {
		this.staffs = staffs;
	}

	public void setResource(String resource) {
		this.resource = resource;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}
	
	@JsonApiToMany
	public List<StaffSchedule> getSchedules() {
		return schedules;
	}

	public void setSchedules(List<StaffSchedule> schedules) {
		this.schedules = schedules;
	}

}
